﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace ThirdPartyInterface
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“IService1”。
    [ServiceContract]
    public interface IService1
    {

        /// <summary>
        /// 获取Token
        /// </summary>
        /// <param name="value"></param>
        [OperationContract]
        string GetToken(string userId,string pass);
        /// <summary>
        /// 获取商品分类
        /// </summary>
        /// <param name="token">Token码</param>
        /// <returns></returns>
        [OperationContract]
        string GetGoodsTyoe(string token);

        /// <summary>
        /// 获取商品n
        /// </summary>
        /// <param name="token">Token码</param>
        /// <returns></returns>
        [OperationContract]
        string GetGoods(string token,string typeId);
        // TODO: 在此添加您的服务操作
    }
}
